
package com.aceitunaproject.client.commands.implementation.parameters;

import com.aceitunaproject.client.commands.EnumParameterType;
import com.aceitunaproject.shared.map.MapTile;

/**
 * 
 * A parameter representing a tile
 *  
 * @author Federico Bergstein
 * 
 */
public class TileParameter extends BasicParameter<MapTile> {

	public TileParameter(String name, String previousWords, String laterWords) {
		super(name, previousWords, laterWords);
	
	}

	
	public EnumParameterType getParameterType() {
		
		return EnumParameterType.Tile;
	}

	
	public String getValueName() {
		
		return value.getPosx() + " , " + value.getPosy();
	}

}
